package com.etrans.web.gps.business.alarm.domain;


public class AlarmPenddingInfo implements Comparable<AlarmPenddingInfo> {
	
	private int rowId;
	
	/**
	 * 报警车辆id
	 */
	private String vehicleId;
	
	/**
	 * 报警类型id
	 */
	private String alarmTypeId;
	
	/**
	 * 报警类型
	 */
	private String alarmType;
	/**
	 * 报警来源
	 */
	private String alarmSource;
	
	/**
	 * 车牌号
	 */
	private String registrationNO;
	/**
	 * 内部号
	 */
	private String internalNumber;
		
	/**
	 * 车队名称
	 */
	private String vehicleTeamName;
	
	/**
	 * 报警时间
	 */
	private String alarmTime;
	/**
	 * 报警时间
	 */
	private long time;
	
	/**
	 * 报警内容
	 */
	private String alarmInfo;
	
	private String commNo;
	
	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public int getRowId() {
		return rowId;
	}

	public void setRowId(int rowId) {
		this.rowId = rowId;
	}

	public String getCommNo() {
		return commNo;
	}

	public void setCommNo(String commNo) {
		this.commNo = commNo;
	}

	public String getVehicleId() {
		return vehicleId;
	}

	public void setVehicleId(String vehicleId) {
		this.vehicleId = vehicleId;
	}

	public String getAlarmType() {
		return alarmType;
	}

	public void setAlarmType(String alarmType) {
		this.alarmType = alarmType;
	}

	public String getRegistrationNO() {
		return registrationNO;
	}

	public void setRegistrationNO(String registrationNO) {
		this.registrationNO = registrationNO;
	}

	public String getInternalNumber() {
		return internalNumber;
	}

	public void setInternalNumber(String internalNumber) {
		this.internalNumber = internalNumber;
	}

	public String getVehicleTeamName() {
		return vehicleTeamName;
	}

	public void setVehicleTeamName(String vehicleTeamName) {
		this.vehicleTeamName = vehicleTeamName;
	}

	public String getAlarmTime() {
		return alarmTime;
	}

	public void setAlarmTime(String alarmTime) {
		this.alarmTime = alarmTime;
	}

	public String getAlarmInfo() {
		return alarmInfo;
	}

	public void setAlarmInfo(String alarmInfo) {
		this.alarmInfo = alarmInfo;
	}

	public AlarmPenddingInfo() {
	
	}

	public String getAlarmTypeId() {
		return alarmTypeId;
	}

	public void setAlarmTypeId(String alarmTypeId) {
		this.alarmTypeId = alarmTypeId;
	}

	public String getAlarmSource() {
		return alarmSource;
	}

	public void setAlarmSource(String alarmSource) {
		this.alarmSource = alarmSource;
	}

	@Override
	public int compareTo(AlarmPenddingInfo o) {
		return this.time >= o.getTime() ? -1 : 1;
	}

	

	
}
